\section{handler::handler\_\-factory Class Reference}
\label{classhandler_1_1handler__factory}\index{handler::handler_factory@{handler::handler\_\-factory}}
This class creates the initial system.  


{\tt \#include $<$handler\_\-factory.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\bf{handler\_\-factory} ()\label{classhandler_1_1handler__factory_a3a0a5ad5a8a0ad3efcc19784dcc272f}

\item 
virtual \bf{$\sim$handler\_\-factory} ()\label{classhandler_1_1handler__factory_174082aebd8759843a38cf2383776f94}

\item 
virtual void \bf{build} ()
\begin{CompactList}\small\item\em build builds new objects of the connection\_\-manager, and the multicaster. \item\end{CompactList}\item 
virtual boost::shared\_\-ptr$<$ \bf{network::connection\_\-manager} $>$ \bf{get\_\-connection\_\-manager} ()\label{classhandler_1_1handler__factory_f5478cef794926cbee86ebfb41ae0de2}

\item 
virtual boost::shared\_\-ptr$<$ \bf{handler::multicaster} $>$ \bf{get\_\-multicaster} ()\label{classhandler_1_1handler__factory_ab78fa1fc39cc77f850f5f5b58728adb}

\end{CompactItemize}


\subsection{Detailed Description}
This class creates the initial system. 

This factory creates the connection\_\-manager and the multicaster for the i\-Room. \begin{Desc}
\item[Author:]Michael Opitz \end{Desc}




Definition at line 42 of file handler\_\-factory.h.

\subsection{Member Function Documentation}
\index{handler::handler_factory@{handler::handler\_\-factory}!build@{build}}
\index{build@{build}!handler::handler_factory@{handler::handler\_\-factory}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void handler::handler\_\-factory::build ()\hspace{0.3cm}{\tt  [virtual]}}\label{classhandler_1_1handler__factory_61e92b3dbf0544b93a17703673af5eb4}


build builds new objects of the connection\_\-manager, and the multicaster. 

This method initializes the factory. You should call this method before you actually call the get-methods. 

Definition at line 9 of file handler\_\-factory.cpp.

\begin{Code}\begin{verbatim}10 {
11         boost::shared_ptr<network::message_queue> q(new network::message_queue);
12         _con_mgr.reset(new network::connection_manager(q));
13         _multi = handler::multicaster::create(q);
14 }
\end{verbatim}\end{Code}




The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
handler/handler\_\-factory.h\item 
handler/handler\_\-factory.cpp\end{CompactItemize}
